]> dgit.raspbian.org Git - gnome-shell.git/commit
inputMethod: Clear preeditStr before reset
authorChristian Hergert <chergert@redhat.com>
Wed, 29 Sep 2021 19:46:45 +0000 (12:46 -0700)
committerMarge Bot <marge-bot@gnome.org>
Thu, 30 Sep 2021 17:12:02 +0000 (17:12 +0000)
commit380d2db1d9047ecffcef7d78f00184963b403efc
treef452d2ee8f1b79d96fa602a890fa2afab2852315
parent2bcc6c09edcdfa9929e8c3b4c3ce7ec652b0ad46
inputMethod: Clear preeditStr before reset

Previously, these were performed in a different order before GNOME 41.
During some other changes they were swapped.

However, this causes both GTK 3 and GTK 4 applications to scroll to
incorrect positions from the preedit change.

Fixes #4647
Fixes GNOME/gtk#4289
Fixes GNOME/gnome-builder#1536
Fixes GNOME/gnome-builder#1531

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1993>
js/misc/inputMethod.js